package com.xnyzc.lhy.finance.entity.invoice;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 
*
* @author haoyfa
* @since 2019-10-26
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysInvoiceApply对象", description="")
public class OaSysInvoiceApply implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="invoice_apply_id", type = IdType.INPUT)
    private Long invoiceApplyId;

    @ApiModelProperty(value = "开票流水号.唯一标志开票请求。支持数字字母下划线组合。")
    private String serialNo;

    @ApiModelProperty(value = "设备类型.0税控服务器，1税控盘，3凯盈盒子")
    private String deviceType;

    @ApiModelProperty(value = "订单id列表，逗号分隔")
    private String orderIds;

    @ApiModelProperty(value = "滴滴发票id")
    private String didiInvoiceId;

    @ApiModelProperty(value = "业务请求流水号")
    private String reqSerialNumber;

    @ApiModelProperty(value = "用户邮箱地址")
    private String userEmail;

    @ApiModelProperty(value = "用户手机号")
    private String userTelphone;

    @ApiModelProperty(value = "第三方业务系统ID")
    private String businessId;

    @ApiModelProperty(value = "征税方式.0：普通征税，2：差额征税")
    private String taxationMode;

    @ApiModelProperty(value = "税控盘编号.设备类型为1时必填")
    private String taxDiskNo;

    @ApiModelProperty(value = "发票票样")
    private String invoiceSample;

    @ApiModelProperty(value = "开具超过限额自动拆分.true：自动拆分，false：不拆分，默认不拆分。")
    private Boolean autoSplit;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "调整发起人")
    private Long createUser;

    @ApiModelProperty(value = "调整发起时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String INVOICE_APPLY_ID = "invoice_apply_id";

    public static final String SERIAL_NO = "serial_no";

    public static final String DEVICE_TYPE = "device_type";

    public static final String DIDI_INVOICE_ID = "didi_invoice_id";

    public static final String REQ_SERIAL_NUMBER = "req_serial_number";

    public static final String BUSINESS_ID = "business_id";

    public static final String TAXATION_MODE = "taxation_mode";

    public static final String TAX_DISK_NO = "tax_disk_no";

    public static final String INVOICE_SAMPLE = "invoice_sample";

    public static final String AUTO_SPLIT = "auto_split";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
